package name.jautzy.esi.client.model;

import java.util.LinkedList;
import java.util.List;

import com.extjs.gxt.ui.client.data.BaseModelData;


public class EdbRace extends BaseModelData {

public static EdbRace all = new EdbRace("All Races");
public static EdbRace caldari = new EdbRace("Caldari");
public static EdbRace gallente = new EdbRace("Gallente");
public static EdbRace amarr = new EdbRace("Amarr");
public static EdbRace minmatar = new EdbRace("Minmatar");
public static List<EdbRace> races = null;

	public EdbRace() {
	}
	
	public EdbRace(String name) {
		if (races ==null)
			races = new LinkedList<EdbRace>();
		setName(name);
		races.add(this);
	}
	
	public String getName() {
		return get("name");
	}
	
	public void setName(String name) {
		set("name",name);
	}

}
